//@ts-nocheck
import React from 'react';
import ReactDOM from 'react-dom';
import Counter1 from './components/Counter1';
import Counter2 from './components/Counter2';
import Counter3 from './components/Counter3';
import {Provider} from './react-redux';
import store from './store';
//Provider 是一个组件,负责通过cotnext上下文向下层组件传递仓库store
ReactDOM.render(<Provider store={store}>
  <Counter1 xxx={333}/>
  <hr/>
  <Counter2 />
  <Counter3 />
</Provider>, document.getElementById('root'));
